/*
 * P2mException.java
 *
 * Created on 16 de Fevereiro de 2009, 23:36
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package core.crypto;

import com.sun.corba.se.impl.protocol.giopmsgheaders.Message;

/**
 *
 * @author vinicius
 */
public class P2mException extends java.lang.Throwable{

    private String message;
    private String title;
    
    
    public P2mException(String message) {
        super(message);
    }
    
    public P2mException(String title , String message) {
        super(title);
        this.title = title;
        this.message = message;
    }

    public String getTitle() {
        return title;
    }
        
    public String getMessage(){
        return message;
    }
    
}
